<template>
  <div class="recommend">
    <div v-for="i in recommend" class="recommend-item">
      <a :href="i.link">
        <img :src="i.image" />
        <div>{{i.title}}</div>
      </a>
    </div>
  </div>
</template>

<script>
  export default{
    name:'',
    data(){
      return {

       }
    },
    methods:{

    },
    props:{
      recommend:{
        type:Array,
        default(){
          return []
        }
      }
    }
  }
</script>

<style scoped>
  .recommend{
    display: flex;
    /* width: 100%; */
    text-align: center;
    font-size: 12px;
    padding: 10px 0 20px;
    border-bottom: 6px solid gainsboro;
  }
  .recommend-item{
    flex: 1;
  }
  .recommend-item img{
    width: 65px;
    height: 65px;
    margin-top: 10px;
  }
</style>
